#include "MineDesign3D/IUI.hpp"

#include "MineDesign3D/ViewModeUI.hpp"
#include "MineDesign3D/EditModeUI.hpp"
namespace MineDesign3D{
IUI::ptr CreateUI(Mode m)
{
	switch(m)
	{
	case MODE_VIEW:
		return boost::shared_ptr<IUI>(new ViewModeUI());
		break;
	case MODE_EDIT:
		return boost::shared_ptr<IUI>(new EditModeUI());
		break;
	}

	return IUI::ptr();
}
}//MineDesign3D